# -*- coding: utf8 -*-
'''
    1.1.1 转换图片格式
'''

import os
from PIL import Image

infile = 'img/haizei.jpg'
outfile = os.path.splitext(infile)[0] + '1.1.1.png'

im = Image.open(infile)
im.save(outfile)
